package gov.ccswj.modules.ccbusiness.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import gov.ccswj.modules.ccbusiness.dao.CHolderOutDao;
import gov.ccswj.modules.ccbusiness.entity.CHolderOutEntity;
import gov.ccswj.modules.ccbusiness.service.CHolderOutService;



@Service("cHolderOutService")
public class CHolderOutServiceImpl implements CHolderOutService {
	@Autowired
	private CHolderOutDao cHolderOutDao;
	
	@Override
	public CHolderOutEntity queryObject(Integer id){
		return cHolderOutDao.queryObject(id);
	}
	
	@Override
	public List<CHolderOutEntity> queryList(Map<String, Object> map){
		return cHolderOutDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return cHolderOutDao.queryTotal(map);
	}
	
	@Override
	public void save(CHolderOutEntity cHolderOut){
		cHolderOutDao.save(cHolderOut);
	}
	
	@Override
	public void update(CHolderOutEntity cHolderOut){
		cHolderOutDao.update(cHolderOut);
	}
	
	@Override
	public void delete(Integer id){
		cHolderOutDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		cHolderOutDao.deleteBatch(ids);
	}
	@Override
	public void deleteByname(String entname) {
		cHolderOutDao.delete(entname);
		
	}
}
